Using XQuery for problem solving
نویسنده
چکیده
Computer applications have intriguing potential for enhancing human problem-solving capabilities. They allow us to play with ideas in their nascent stage and to experiment with possible solutions. Spreadsheet calculators and scripting languages are often used as ad-hoc tools to replace tedious pen-and-pencil work in such circumstances. The author of this article has previously used script languages like AWK [1] and Python [51], or the logic programming language Prolog [13, 49] for experimenting with combinatorial ideas, and for rapid prototyping of designs, say, of virtual machine architectures, before implementing them in a procedural language like C, Ada, or Java. Recently, XQuery has in several occasions been chosen as a tool for such experiments by the author. We demonstrate the potential of XQuery for experimental problem solving by considering XQuery solutions to several recreational problems and puzzles. We share Donald Knuth’s attitude towards puzzles [33, pp. 7–9]. That is, the puzzles are not the most important thing, but they are ideal for introducing representative problems—and of course, they are fun. The
منابع مشابه
Updating XQuery Views Published over Relational Data: A Roundtrip Case Study
Managing XML data using relational database systems, including query processing over virtual XML views that wrap relational sources, has been heavily studied in the last few years. Updating such virtual XML views, however, is not well studied, although it is essential for building a viable full-featured XML data management systems. XML view update is a challenging problem because of having to a...
متن کاملThe Impact of Family / School-Based Problem Solving Training on Problem-Solving Styles of Elementary Students
Background and Purpose: Problem solving is one of the structured cognitive programs that provides a range of efficient responses to deal with the problematic situations of life. The purpose of this study was to determine the effect of family / school-based problem solving training on problem-solving styles of elementary students. Method: The present study was an experimental research with prete...
متن کاملProcessing Strategy for Global XQuery Queries Based on XQuery Join Cost
XML is a standard for exchanging and formatting data over the Internet and XQuery is a standard query language for searching and integrating XML data. Therefore, it is a natural choice for interoperability to use XQuery over the Internet. Global XQuery queries search and integrate heterogeneous data, being distributed in the local systems. In order to process efficiently global XQuery queries, ...
متن کاملA new solving approach for fuzzy multi-objective programming problem in uncertainty conditions by using semi-infinite linear programing
In practice, there are many problems which decision parameters are fuzzy numbers, and some kind of this problems are formulated as either possibilitic programming or multi-objective programming methods. In this paper, we consider a multi-objective programming problem with fuzzy data in constraints and introduce a new approach for solving these problems base on a combination of the multi-objecti...
متن کاملA Declarative Embedding of XQuery in a Functional-Logic Language
This paper addresses the problem of integrating a fragment of XQuery, a language for querying XML documents, into the functionallogic language T OY. The queries are evaluated by an interpreter, and the declarative nature of the proposal allows us to prove correctness and completeness with respect to the semantics of the subset of XQuery considered. The different fragments of XML that can be pro...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Softw., Pract. Exper.
دوره 42 شماره
صفحات -
تاریخ انتشار 2012